package com.example.user1.infra.mapper.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
public class BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long createBy;
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    private Long updateBy;
    @TableField(fill = FieldFill.UPDATE)
    private Long updateTime;
    @TableLogic
    private int deleteFlag;
}
